﻿
using Microsoft.Practices.Unity;
using WPTrek.Data;
namespace WPTrek.Gui.Services
{
    public class DataService : IDataService
    {
        public DataService(IUnityContainer container)
        {
            this.container = container;
        }

        #region IDataService Members

        public IUniverse GetUniverse()
        {
            return container.Resolve<IUniverse>();
        }

        #endregion

        private IUnityContainer container;
    }
}
